<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>首页</title>
</head>
<body>
	<div th:text="'欢迎你'+${session.login.u_nickname}">这是谁</div>
	<a th:href="@{/logout}">退出登录</a>
	<p>111</p>
	<p shiro:hasRole="admin">这是admin可以看到的</p>
	<p shiro:hasRole="normal">这是normal可以看到的</p>
	<div th:replace="test :: head"></div>
</body>
</html>
